package com.linjiahao.nettyBus;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {"com.linjiahao"})
@SpringBootApplication
@Slf4j
public class NettyBusTwoApplication {


    /**
    * 将内置启动tomact去掉
    * */
    public static void main(String[] args) {
        new SpringApplicationBuilder(NettyBusTwoApplication.class).web(WebApplicationType.NONE).run(args);
    }

}
